package com.mengxuegu.springcloud.mapper;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-10-21 16:52
 * @notify
 * @version 1.0
 */

import com.mengxuegu.springcloud.entities.Product;

import java.util.List;

public interface ProductMapper {
    Product findById(Long pid);

    List<Product> findAll();

    boolean addProduct(Product product);
}
